package com.fu.core.util;

/**
 * @author 付龙江
 * @date 2022/1/27 21:45
 */
public class ThreadLocalUtil {

    private static final ThreadLocal<Object> threadLocal = new ThreadLocal<>();

    public static Object getObject() {
        return threadLocal.get();
    }

    public static void setObject(Object object) {
        threadLocal.set(object);
    }

    public static void remove() {
        threadLocal.remove();
    }
}
